<!-- 图标管理 -->
<template>
	<view class="body">
		<view class="list" v-for="(item,index) in lists" @click="$win.show('l1/l1?title='+item.title)">
			<view class="title">
				<text>{{item.title}}</text>
				<view class="num">
					<text>{{item.num}}张</text>
					<image src="/static/iconfont/right.webp" mode="aspectFill"></image>
				</view>
			</view>
			<view class="content">
				<view class="son" v-for="(k,i) in 4">
					<image :src="item.pic[i]" :key="i" mode="aspectFill"></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				lists: [{
					title: '交通标志大全',
					num: 449,
					pic: ['/static/user/study/1.webp', '/static/user/study/2.webp', '/static/user/study/3.webp',
						'/static/user/study/4.webp'
					],
				},{
					title: '汽车仪表指示灯',
					num: 25,
					pic: ['/static/user/study/1.webp', '/static/user/study/2.webp', '/static/user/study/3.webp',
						'/static/user/study/4.webp'
					],
				},{
					title: '车内功能按键',
					num: 8,
					pic: ['/static/user/study/1.webp', '/static/user/study/2.webp', '/static/user/study/3.webp',
						'/static/user/study/4.webp'
					],
				},{
					title: '交警手势',
					num: 26,
					pic: ['/static/user/study/1.webp', '/static/user/study/2.webp', '/static/user/study/3.webp',
						'/static/user/study/4.webp'
					],
				}]
			}
		},
		methods: {

		}
	}
</script>

<style lang="scss">
	page{
		background-color: #f2f3f5;
	}
	.body {
		display: flex;
		flex-direction: column;
		margin-top: 20rpx;

		.list {
			display: flex;
			flex-direction: column;
			width: 750rpx;
			height: 210rpx;
			background: #ffffff;
			box-sizing: border-box;
			padding: 30rpx 24rpx;
			border: 2rpx solid #f2f3f5;

			.title {
				display: flex;
				justify-content: space-between;
				margin-bottom: 30rpx;

				text {
					font-size: 28rpx;
					font-family: Source Han Sans CN, Source Han Sans CN-Regular;
					font-weight: 400;
					text-align: left;
					color: #333333;
				}

				;

				.num {
					display: flex;
					align-items: center;

					text {
						font-size: 24rpx;
						font-family: Source Han Sans CN, Source Han Sans CN-Regular;
						font-weight: 400;
						text-align: right;
						color: #c1c1c1;
					}

					image {
						width: 17rpx;
						height: 17rpx;
					}
				}
			}

			;

			.content {
				display: flex;

				.son {
					margin-right: 60rpx;
					width: 90rpx;
					height: 90rpx;

					image {
						width: 90rpx;
						height: 90rpx;
					}
				}
			}
		}
	}
</style>
